package com.fanfanwang.ffw.app.bean;

import org.json.JSONObject;

import android.content.ContentValues;
import android.database.Cursor;

import com.fanfanwang.ffw.app.db.ItotemContract.Tables.UserBeanTable;

public class UserBean extends BaseBean<UserBean> {
	private static final long serialVersionUID = 4677461580176261186L;
	/**
	 * 用户id
	 */
	public String userid;

	@Override
	public UserBean parseJSON(JSONObject jsonObj) {
		return null;
	}

	@Override
	public JSONObject toJSON() {
		return null;
	}

	@Override
	public UserBean cursorToBean(Cursor cursor) {
		userid = cursor.getString(cursor.getColumnIndex(UserBeanTable.USER_ID));
		return this;
	}

	@Override
	public ContentValues beanToValues() {
		ContentValues values = new ContentValues();
		values.put(UserBeanTable.USER_ID, userid);
		return values;
	}
}
